#include <stdio.h>
#include <ctype.h>

//https://www.nowcoder.com/practice/91a588dd4cd244bfa616f17603ec123c?tpId=107&&tqId=33328&rp=1&ru=/ta/beginner-programmers&qru=/ta/beginner-programmers/question-ranking

int main() {
    int num = 0;
    char ch = 0;
    while (scanf("%c", &ch) != EOF) {
        getchar();
        num = isalpha(ch);
        (num) ? printf("%c is an alphabet.\n", ch) : printf("%c is not an alphabet.\n", ch);
    }
    return 0;
}